cmake_minimum_required(VERSION 2.6)

#Configuration du projet
project(BattleTank)



SET(CMAKE_CXX_FLAGS "-std=c++0x -pedantic -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -Wfloat-equal -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion -Wshadow -Weffc++ -Wredundant-decls -Winit-self -Wswitch-default -Wswitch-enum -Wundef -Wlogical-op -Winline -ggdb3")

#Configuration de l'exécutable
file(
GLOB_RECURSE
source_files
src/*
)

include_directories(src/)
include_directories(src/utilities)
include_directories(src/game\ engine)

add_executable(
tank
${source_files}
)

target_link_libraries(
tank
sfml-system
sfml-window
sfml-graphics
boost_system
boost_filesystem
Box2D
)


